package sctu.edu.java.year2016.team01.xuhanmei.day20160520.practice1;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Eagles {
    public static void main(String[] args) {
        String[] birds=new String[]{"白鹭","黄鹂","鸳鸯","画眉","喜鹊","乌鸦","老鹰",
                "凤凰","山鸡","猫头鹰"};
        System.out.println("在你发现第一只老鹰之前，你发现了哪些鸟？");
        for (String string :birds){
            if (string.equals("老鹰"))
                break;
            System.out.print("有" + string+",");
        }
    }
}

